<include file="__THEME__/header" />

<script type="text/javascript" src="../Public/Js/Common.js"></script>
<link rel="stylesheet" href="../Public/blog.css" type="text/css" media="screen" charset="utf-8" />
<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"><!-- 画布 begin  -->
        <div class="page_title"> <!-- page_title begin -->
            <div class="left" style="width:66px;"><span class="headpic50"><img src="{$uid|getUserFace}" /></span></div>
            <div class="left">
                <h2>我的日志</h2>
                <p><a href="__TS__/Home">我的首页</a>&nbsp;&nbsp;<span class="cGray2">|</span>&nbsp;&nbsp;<a href="__URL__/my/">我的日志</a></p>
            </div>
            <div class="c"></div>
        </div><!-- page_title end -->
        <div class="BlogBox">
            <div class="LogList"><!-- 好友日志 begin  -->
                <div class="btmline lh30"><div class="right"><a href="__URL__/show/id/{$id}/action/lt/mid/{$uid}">上一篇</a> / <a href="__URL__/show/id/{$id}/action/gt/mid/{$uid}">下一篇</a></div>

                    第 {$num}/{$count} 篇日志</div>
                <div style="margin-bottom:20px;">
                    <div class="tit_log">
                    <h1>
                      <span class="right"> <php>if(isAddApp('share')) { </php>
					  <input type="button" name="Submit" value="{%share}" class="BtnShare" onclick="ts_sharePop('{$id}','__URL__')" id="BtnShare_{$id}"/>
					  <php> } </php></span>							
							<strong>{$title}</strong></a></h1>
                    <p><a href="__URL__/edit/id/{$id}/mid/{$uid}">编辑</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="#" onclick="deleteBlog('__URL__/doDeleteBlog/id/{$id}')">删除</a>&nbsp;&nbsp;<em>{$cTime|friendlyDate}</em></p>
                    </div>


                    <php>if( $type != 0 ){</php><span class="imported-article cGray2">{%type1}<php>}</php></span>
                    <div style="padding:20px 0px;" class="f14px blog_con lh180" id="blog_con">{$content}</div>
                    <neq name="mention" value="">
                        <div class="cGray2 lh30">日志相关好友:
                            <php>foreach( $mention as $friends ){</php>
                            <a href="__TS__/space/{$friends['uid']}">{$friends['name']}</a>
                            <php>}</php>
                        </div>
                    </neq>
                    <neq name ="attach" value="">
                        
                        <div class="adjunct_list">
                            <h2>附件:</h2>
                            <volist name ="attach" id="vo"></volist>
                            <p class="cGray2"><a href="__TS__/Attach/index/id/{$vo['id']}/uid/{$uid}/filename/{$vo['name']}">{$vo['name']}</a></p>
                            </volist>
                        </div>
                    </neq>
                    <neq name="mTime" value="0">
                        <p class="cGray2">最后修改时间:{$mTime|friendlyDate}</p><br>
                    </neq>
                    <div class="cGray2 topline lh30">分类:<a href="__URL__/my/cateId/{$category['id']}">{$category['name']}</a>&nbsp;&nbsp;|&nbsp;&nbsp;阅读({$readCount})&nbsp;&nbsp;|&nbsp;&nbsp;评论(<span id='commentCount'>{$commentCount}</span>)</div>
                </div>





                {:W('Comment',array( 'type'=>'blog','appid'=>$id,'mid'=>$uid,"face"=>getUserFace( $guest ),'role'=>$role))}
            </div><!-- 好友日志 end  -->
        </div>

    </div><!-- 画布 end  -->
    <div class="c"></div>

</div><!-- 内容 end -->
<include file="__THEME__/footer" />
